<script setup lang="ts">
import "vant/es/toast/style";
import "vant/es/notify/style";

</script>

<template>
  <RouterView v-slot="{ Component }">
    <template v-if="Component">
      <Transition mode="out-in">
        <KeepAlive>
          <component :is="Component"></component>
        </KeepAlive>
      </Transition>
    </template>
  </RouterView>
</template>

<style scoped lang="scss"></style>
